home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 2 / CU Amiga Magazine's Super CD-ROM 02 (1996)(EMAP Images)(GB)[!][issue 1996-04].iso / magazine / amiga_e / amigae.june.archive / 000075_crash!MSUVX1.M….EDU!UMLANGSTON_Sun, 13 Jun 93 13:59:06 PST.msg < prev    next >
Text File  |  1993-08-31  |  2KB  |  47 lines

  1. Received: by bkhouse.cts.com (V1.16/Amiga)
  2.     id AA00000; Sun, 13 Jun 93 13:59:06 PST
  3. Received: from msuvx1.memst.edu by crash.cts.com with smtp
  4.     (Smail3.1.28.1 #15) id m0o4y1E-000008C; Sun, 13 Jun 93 12:47 PDT
  5. Received: from MSUVX1.MEMST.EDU by MSUVX1.MEMST.EDU (PMDF #3869 ) id
  6.  <01GZC0AK0P68AC52UA@MSUVX1.MEMST.EDU>; Sun, 13 Jun 1993 14:49:34 CST
  7. Date: 13 Jun 1993 14:49:34 -0600 (CST)
  8. Message-id: <01GZC0AK0P6AAC52UA@MSUVX1.MEMST.EDU>
  9. X-VMS-To: IN%"amigae@bkhouse.cts.com"
  10. MIME-version: 1.0
  11. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  12. Content-transfer-encoding: 7BIT
  13. From: UMLANGSTON@MSUVX1.MEMST.EDU
  14. To: amigae@bkhouse.cts.com
  15. Subject: Updating gadgets
  16.  
  17.  
  18.   Well, I've been digging around my Libs RKRM (and realizing just how poorly
  19. it's organized), trying to figure something out.
  20.  
  21. Get this:
  22.   I opened up a custom window, and throw up a few gadgets using gadtools.
  23. The buttons types work fine.  However, I threw up a text (read-only) display
  24. gadget, empty to begin with.  I want to send changing values to this gadget,
  25. but the function call to do this (I cant remember the name, something like
  26. Gt_SetGadgetPtrsA ...not too sure about the last 5 char's...sorry), just
  27. won't work.  I set the initial text flag for the gadget to NIL, but later,
  28. in Main(), as long as the window wasn't closed (only msg I'm checking for
  29. right now), I tried to have it increment a counter and display it there by
  30. changing that flag.  The RKRM says that this should be all that's necessary,
  31. that I shouldn't have to do a refresh on the gadgets.
  32.   I'm perprexed.  By the way, the parameters for that function was a pointer
  33. to the gadget structure (I called mine text1), a pointer to the window 
  34. containing that gadget, another unused pointer the RKRM says you can set to
  35. NIL, and then the flags for the gadget you want to change, either as a pointer
  36. to the new structure or as a TagList, which is what I did...no dice, however.
  37.  
  38. I'm at work right now, so I don't have the code handy, but if I remember 
  39. tonite, I'll stick it on a disk and post it tomorrow after, if no one has
  40. solved this by then.
  41.  
  42. I'm gonna try it with some of the button gadgets, see if I can ghost them...
  43. perhaps I'm misusing the function.  If that doesn't work either, I may get
  44. quite down.
  45.  
  46. harried,
  47. -mark